package com.meituan.catering.management.shop.biz.service;

import com.meituan.catering.management.shop.api.http.model.request.SearchShopHttpRequest;
import com.meituan.catering.management.shop.biz.model.ShopBO;
import com.meituan.catering.management.shop.biz.model.common.PageBO;
import com.meituan.catering.management.shop.biz.model.common.UserContextBO;
import com.meituan.catering.management.shop.dao.model.request.SearchShopDataRequest;


import java.util.List;
import java.util.Set;

/**
 * @Author:ale
 * @Date 2022/4/23 16:28
 * @Version 1.0
 */

public interface ShopBizQueryService {


    /**
     * 精确匹配关键字
     * @param request
     * @return
     */
    PageBO<ShopBO> searchForPage(SearchShopHttpRequest request);


    /**
     * 分页搜索全部门店信息
     * @param request
     * @return
     */
    PageBO<ShopBO> queryForPage(SearchShopHttpRequest request);

    Set<Long> findPrivilegedSHopIds(UserContextBO userContextBO);

    PageBO<ShopBO> searchForPageTwo(UserContextBO userContext,SearchShopHttpRequest request);
}
